} else {
if ($this->reConnectTimes < 4 && $this->isBreak($e)) {
$this->reConnectTimes++;
return $this->close()->getPDOStatement($sql, $bind, $master, $procedure);
}
}
if ($e instanceof \PDOException) {
throw new PDOException($e, $this->config, $this->getLastsql());
} else {
throw $e;
}
}
}
/**
* 执行语句.
*
SQLSTATE | HY000 |
Driver Error Code | 2002 |
Driver Error Message | Connection refused |
Error Code | 10501 |
Error Message | SQLSTATE[HY000] [2002] Connection refused |
Error SQL |
type | mysql |
hostname | 127.0.0.1 |
database | 16757com |
hostport | 3306 |
dsn | |
params | [] |
charset | utf8 |
prefix | wdphp_ |
deploy | 0 |
rw_separate | false |
master_num | 1 |
slave_no | |
read_master | false |
fields_strict | true |
fields_cache | true |
trigger_sql | true |
builder | |
query | |
break_reconnect | false |
break_match_str | [] |
auto_param_bind | true |
schema_cache_path | /www/wwwroot/www.16757.com/runtime/schema/ |
USER | www |
HOME | /home/www |
HTTP_X_FORWARDED_FOR | 220.181.57.216 |
HTTP_CLIENT_IP | 220.181.57.216 |
HTTP_REFERER | //so/%E3%80%90%E5%B0%BE%E8%B4%A7%E6%9C%BA%E3%80%91%E5%A4%8F%E6%96%B0%EF%BC%88Amoi%EF%BC%89AMOI%E5%8D%8A%E5%85%A8%E8%87%AA%E5%8A%A8%E6%B4%97%E8%A1%A3%E6%9C%BA%E5%A4%A7%E5%AE%B9%E9%87%8F%E5%AE%B6%E7%94%A8%E5%AE%BF%E8%88%8D%E5%8F%8C%E7%BC%B8%E5%8F%8C%E6%A1%B6%E7%94%A9%E5%B9%B2%E9%A3%8E%E5%B9%B2%E7%9C%81%E6%B0%B4%E7%9C%81%E7%94%B5%E3%80%90%E5%93%81%E8%B4%A8%E5%AE%B6%E7%94%B5%E3%80%91%2012%E5%85%AC%E6%96%A4%E3%80%90%E7%8E%BB%E7%92%83%E7%9B%96%E3%80%91%E5%8A%A0%E5%8E%9A%E5%BC%BA%E5%8A%A8%E5%8A%9B+%E8%93%9D%E5%85%89.html |
HTTP_ACCEPT | */* |
HTTP_USER_AGENT | Mozilla/5.0 (compatible; Baiduspider/2.0; +http://www.baidu.com/search/spider.html) |
PATH_INFO | |
HTTP_HOST | www.16757.com |
REDIRECT_STATUS | 200 |
SERVER_NAME | www.16757.com |
SERVER_PORT | 443 |
SERVER_ADDR | 103.26.78.158 |
REMOTE_PORT | 46258 |
REMOTE_ADDR | 47.76.153.81 |
SERVER_SOFTWARE | nginx/1.27.1 |
GATEWAY_INTERFACE | CGI/1.1 |
HTTPS | on |
REQUEST_SCHEME | https |
SERVER_PROTOCOL | HTTP/1.1 |
DOCUMENT_ROOT | /www/wwwroot/www.16757.com/public |
DOCUMENT_URI | /index.php |
REQUEST_URI | / |
SCRIPT_NAME | /index.php |
CONTENT_LENGTH | |
CONTENT_TYPE | |
REQUEST_METHOD | GET |
QUERY_STRING | |
SCRIPT_FILENAME | /www/wwwroot/www.16757.com/public/index.php |
FCGI_ROLE | RESPONDER |
PHP_SELF | /index.php |
REQUEST_TIME_FLOAT | 1731464016.2406 |
REQUEST_TIME | 1731464016 |